<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <link rel="stylesheet" href="./common/fontawesome/css/all.css">
    <style>
        *{
            padding: 0;
            margin: 0;
        }

        .main {
            position: relative;
        }

        .bg{
            height: 600px;
            /* background-color: beige; */
            background-image: url('./img/bg.jpeg');
            background-position: center center;
            background-repeat: no-repeat;
            background-size: 100%;
            position: relative;
        }

        .info {
            position: absolute;
            left: 15%;
            top: 20%;
           
        }

        .info p:nth-of-type(1) {
            font-size: 50px;
            color: white;
            font-weight: 700;
            margin-bottom: 20px;
        }

        .info p:nth-of-type(2) {
            font-size: 28px;
            color: white;
        }


        .detail {
            height: 800px;
            width: 1000px;
            /* background-color: cadetblue; */
            position: absolute;
            top: 580px;
            left: 50%;
            margin-left: -500px;
        }

        .sec1 {
            height: 180px;
            border-radius: 10px;
            background-color: lightgray;
        }

        .sec1 .topDiv {
            height: 110px;
            border-bottom: 1px solid #ccc ;
            border-radius: 10px;
            background-color: whitesmoke;
            padding: 8px;
        }

        .sec1 .topDiv .destination {
            width: 280px;
            height: inherit; /* 继承 */
            position: relative;
            border-right: 2px dashed #ccc;
        }

        .sec1 .topDiv .destination p{
            position: absolute;
            top: 50%;
            margin-top: -40px;
            height: 80px;
            /* background-color: blanchedalmond; */
            padding: 5px 0px 0px 5px;
        }

        .sec1 .topDiv .destination p span:nth-of-type(2){
            display: inline-block;
            font-size: 10px;
            margin-bottom: 25px;
        }

        .sec1 .topDiv .destination p span:nth-of-type(3){
            font-size: 18px;
        }

        .title {
            font-size: 30px;
            font-weight: 400;
            margin-bottom: 20px;
        }

        .sec2 .item {
            width: 33.33333%;
            height: 330px;
            outline: 1px solid white;
            /* display: inline-block; */
            float: left;
            padding: 5px;
            /* 浏览器默认的合子类型是 content-box;
                content-box： 内容宽度固定，padding越大，盒子整体宽度越大
                border-box ： 宽度高度固定，padding越大，可填写的内容就越少
            */
            box-sizing: border-box;
        }

        .sec2 .item div{
            height: 320px;
        }

        .item:nth-of-type(1) div{
            background-image: url(./img/sec2_1.jpeg);
            background-position: center center;
            background-repeat: no-repeat;
        }

        .item:nth-of-type(2) div{
            background-image: url(./img/sec2_2.jpeg);
            background-position: 10% center;
            background-repeat: no-repeat;
        }

        .item:nth-of-type(3) div{
            background-image: url(./img/sec2_3.jpeg);
            background-position: center center;
            background-repeat: no-repeat;
        }

    </style>
</head>
<body>
    <div class="main">
        <div class="bg">
            <div class="info">
                <p>在蝶变中留住历史文脉</p>
                <p>无论您是商旅还是休闲度假，我们的酒店都是您最好的完美选择</p>
            </div>
        </div>
        <div class="detail">
            <div class="sec1">
                <div class="topDiv">
                    <div class="destination">
                        <p>
                            <span style="font-size: 1em; color: Tomato;">
                                <i class="fas fa-map-marker-alt"></i>
                            </span>
                            <span>目的地</span><br>
                            <span>城市，机场，名胜古迹或地址</span>
                        </p>
                    </div>
                    <div></div>
                    <div></div>
                </div>
                <div class="bottomDiv"></div>
            </div>
            <div class="sec2">
                <p class="title">在蝶变中留住历史文脉</p>
                <div>
                    <div class="item">
                        <div>

                        </div>
                    </div>
                    <div class="item">
                        <div>

                        </div>
                    </div>
                    <div class="item">
                        <div>

                        </div>
                    </div>
                </div>
            </div>
            <div class="sec3">
                <p class="title">在蝶变中留住历史文脉</p>
            </div>
            <div class="sec4">
                <p class="title">在蝶变中留住历史文脉</p>
            </div>
        </div>





    </div>
</body>
</html>